]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
7 years agost/settings: Add magnifier activation property and bind to settings
Marco Trevisan (Treviño) [Tue, 12 Mar 2019 21:41:18 +0000 (21:41 +0000)]
st/settings: Add magnifier activation property and bind to settings

The same code for reading the current magnifier state is repeated in both
shell-recorder, shell-screenshot and magnifier itself.
So to move this inside a property of st-settings so that we can refer to it
all over the places removing duplications.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/473

7 years agoIgnore '.vscode' folder for users of that editor
Phil Wyett [Tue, 2 Apr 2019 17:37:31 +0000 (17:37 +0000)]
Ignore '.vscode' folder for users of that editor

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/476

7 years agoshell: Fallback on ISO 8601 datetime string for screenshot date info
Carlos Garnacho [Mon, 1 Apr 2019 16:06:49 +0000 (18:06 +0200)]
shell: Fallback on ISO 8601 datetime string for screenshot date info

If the locale doesn't honor strftime()'s %c argument, we would end up
feeding NULLs into GdkPixbuf tagging. Fallback to a sensible (although
not nicely localized) datetime string.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1017
7 years agomagnifier: Use actor scaling filters on content texture node
Marco Trevisan (Treviño) [Mon, 11 Mar 2019 21:30:39 +0000 (17:30 -0400)]
magnifier: Use actor scaling filters on content texture node

Reuse the same filter values of the attached actor, instead of hardcoding the
defaults.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/454

7 years agomagnifier: Track cursor sprite changes only when active
Marco Trevisan (Treviño) [Mon, 11 Mar 2019 21:09:08 +0000 (17:09 -0400)]
magnifier: Track cursor sprite changes only when active

There's no point in keeping the cursor sprite texture around all the time,
and to listen for its changes, we just need this when the magnifier is active.

So, initialize the magnifier texture and monitor for the sprite changes on
activation, while disconnect from the signal and nullify the texture when
the magnifier is deactivated.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/443

7 years agomagnifier: Invalidate content size when it changes
Marco Trevisan (Treviño) [Mon, 11 Mar 2019 20:40:45 +0000 (16:40 -0400)]
magnifier: Invalidate content size when it changes

In case the content size changes we need to invalidate its size in order to
trigger a full actor relayout.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/443

7 years agomagnifier: Use all color channels to paint content texture node
Marco Trevisan (Treviño) [Mon, 11 Mar 2019 20:39:29 +0000 (20:39 +0000)]
magnifier: Use all color channels to paint content texture node

In order to paint all the color channels of the content texture we need to
set the color channels to 255, so instead of doing this manually we can just
reuse the static color definition for white.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1020

7 years agomagnifier: Return all parameters on sprite content preferred size
Marco Trevisan (Treviño) [Mon, 11 Mar 2019 20:36:55 +0000 (20:36 +0000)]
magnifier: Return all parameters on sprite content preferred size

ClutterContent's get_preferred_size should return a boolean weather the
preferred size is valid, so in javascript we've to return this state value
before out width and height.

Since this was not happening, clutter was considering the width as the state
(converting the non-zero value to true), the height as the width, while ignoring
the returned height (that was then defaulted to 0)

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1020

7 years agoUpdate Slovak translation
Dušan Kazik [Mon, 1 Apr 2019 15:09:41 +0000 (15:09 +0000)]
Update Slovak translation

7 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 1 Apr 2019 08:29:36 +0000 (10:29 +0200)]
Updated Spanish translation

7 years agoUpdate Esperanto translation
Carmen Bianca BAKKER [Mon, 1 Apr 2019 06:04:01 +0000 (06:04 +0000)]
Update Esperanto translation

7 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Sun, 31 Mar 2019 15:34:17 +0000 (15:34 +0000)]
Update Chinese (Taiwan) translation

7 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Sun, 31 Mar 2019 15:12:01 +0000 (15:12 +0000)]
Update Chinese (Taiwan) translation

7 years agoapp: Consider "quit" action for quit
Florian Müllner [Tue, 5 Feb 2019 01:32:52 +0000 (02:32 +0100)]
app: Consider "quit" action for quit

Just like we take a remote "new-window" action into account for
opening new windows, we should call an explicit "quit" action
before falling back to closing all the app's windows on quit.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/624

7 years agomagnifier: Only connect to signals when ZoomRegion is active
Marco Trevisan (Treviño) [Wed, 27 Mar 2019 21:57:33 +0000 (22:57 +0100)]
magnifier: Only connect to signals when ZoomRegion is active

There's no need to listen signals when the zoom region is inactive, so let's
just connect/disconnect them.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/472

7 years agomagnifier: Update screen position on activation
Marco Trevisan (Treviño) [Wed, 27 Mar 2019 21:16:26 +0000 (22:16 +0100)]
magnifier: Update screen position on activation

The default ZoomRegion is created at startup and only updated if it is active
when the monitor setup changes. Thus when reactivating the magnifier after a
display change, the viewport used is still the one that been computed with the
old screen geometry values.

Move screen update code inside a function and call it both when activating
the zoom region and when the monitor changes during a zoom session.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1120

7 years agoiconGrid: Chain up in style-changed
Florian Müllner [Wed, 27 Mar 2019 16:50:20 +0000 (17:50 +0100)]
iconGrid: Chain up in style-changed

Commit 81ec8215a0c moved the handling of style changes from a signal
handler to a vfunc without chaining up to the parent, losing propagating
the change to children and queueing a paint update.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1117

7 years agonetwork: Catch errors when reading devices
Florian Müllner [Thu, 7 Mar 2019 19:26:12 +0000 (20:26 +0100)]
network: Catch errors when reading devices

NetworkManager added support for a new device - NMDeviceWifiP2P - but
did not add the corresponding enum value in NMDeviceType. The return
value for nm_device_get_device_type() is therefore "illegal" for the
newly added device, and gjs throws an exception.

This should ultimately be fixed in libnm, but as errors when adding
one device shouldn't interfere with adding any other devices, catching
exception is a good idea anyway, so do just that.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1023

7 years agoUpdate Croatian translation
Goran Vidović [Tue, 26 Mar 2019 11:34:00 +0000 (11:34 +0000)]
Update Croatian translation

7 years agoboxpointer: Calculate position using workarea
Andrea Azzarone [Fri, 22 Mar 2019 12:31:48 +0000 (12:31 +0000)]
boxpointer: Calculate position using workarea

Take the workarea into consideration when calculating the position and the size
of box pointer and of its arrow.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1102
7 years agoscripting: Don't use legacy API
Florian Müllner [Tue, 12 Feb 2019 16:11:24 +0000 (17:11 +0100)]
scripting: Don't use legacy API

The current scripting module makes heavy use of pre-standardized
iterator/generator/promise APIs, at least for some of those support
was pulled in SpiderMonkey 58.

Port to the new standardized replacements to get the module back into
a working state.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/440

7 years agomain: Wait for startup completion before running perf script
Florian Müllner [Tue, 5 Mar 2019 18:31:01 +0000 (19:31 +0100)]
main: Wait for startup completion before running perf script

The scripts generally assume a functional shell, so wait until
that is the case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/440

7 years agoperf: Use var for METRICS
Florian Müllner [Tue, 5 Mar 2019 21:54:59 +0000 (22:54 +0100)]
perf: Use var for METRICS

Each perf module exposes it to the scripting module to report metrics
after all tests have been run. The symbol's scope should allow that,
so declare it as var.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/440

7 years agoaggregateMenu: Include action buttons in width computation again
Florian Müllner [Wed, 20 Mar 2019 12:48:21 +0000 (12:48 +0000)]
aggregateMenu: Include action buttons in width computation again

Commit 1b169655ac removed the system indicator from the list of children
that are considered for the overall menu width, because we do want the
log-out submenu to adapt to the available width.

However as a side effect, action buttons no longer contribute to the
width either, so if extensions add additional buttons, the menu is
likely to overflow.

Avoid this by only adding the button group to the list of size children.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1094

7 years agoUpdate Arabic translation
Khaled Hosny [Mon, 18 Mar 2019 12:37:34 +0000 (14:37 +0200)]
Update Arabic translation

7 years agowindowCycler: Create settings before chaining up
Florian Müllner [Sat, 16 Mar 2019 22:22:29 +0000 (23:22 +0100)]
windowCycler: Create settings before chaining up

It's used in _getWindows() which is called from the parent's _init().

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1064

7 years agoscreenShield: Handle signal 'StatusChanged' when lockscreen is active
Xiaoguang Wang [Fri, 15 Mar 2019 01:13:27 +0000 (09:13 +0800)]
screenShield: Handle signal 'StatusChanged' when lockscreen is active

When lockscreen is active, screen can't be dimed if signal
'StatusChanged' is ignored. We need to handle this signal.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/900

7 years agoUpdate French translation
Charles Monzat [Sun, 17 Mar 2019 18:59:32 +0000 (18:59 +0000)]
Update French translation

7 years agoFix Icon in Tajik translation
Piotr Drąg [Sat, 16 Mar 2019 17:21:38 +0000 (18:21 +0100)]
Fix Icon in Tajik translation

7 years agoUpdate British English translation
Bruce Cowan [Sat, 16 Mar 2019 11:19:57 +0000 (11:19 +0000)]
Update British English translation

7 years agodnd: Multiply drag threshold by output scale
Carlos Garnacho [Tue, 12 Mar 2019 01:14:07 +0000 (02:14 +0100)]
dnd: Multiply drag threshold by output scale

So it comes out right on hidpi, and consistent with clients.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/455

7 years agodnd: Make startDrag() fail if there is a current grab
Carlos Garnacho [Tue, 12 Mar 2019 00:53:16 +0000 (01:53 +0100)]
dnd: Make startDrag() fail if there is a current grab

This call just went through stomping over previous drag operations if any,
_maybeStartDrag() accounted for this, but other callers (well, WindowClone
in workspace.js) don't. This must bail out early even if a drag operation is
requested, luckily all callers account for it already.

This broke shell state by preserving connected captured-event handlers if
one tried to drag multiple windows simultaneously through multitouch. We
of course don't support that, now more elegantly.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/455

7 years agoUpdate Tajik Translation
Victor Ibragimov [Wed, 13 Mar 2019 16:45:05 +0000 (21:45 +0500)]
Update Tajik Translation

7 years agoMerge branch 'master' of gitlab.gnome.org:GNOME/gnome-shell
Victor Ibragimov [Wed, 13 Mar 2019 16:40:31 +0000 (21:40 +0500)]
Merge branch 'master' of gitlab.gnome.org:GNOME/gnome-shell

7 years agoUpdate Tajik Translation
Victor Ibragimov [Wed, 13 Mar 2019 16:39:34 +0000 (21:39 +0500)]
Update Tajik Translation

7 years agoUpdate Tajik Translation
Victor Ibragimov [Wed, 13 Mar 2019 16:18:10 +0000 (21:18 +0500)]
Update Tajik Translation

7 years agotheme: Fix :checked:active page-indicator
Alex Monday [Sun, 10 Mar 2019 17:56:34 +0000 (22:56 +0500)]
theme: Fix :checked:active page-indicator

Closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1036

7 years agomagnifier: Fix color argument
Florian Müllner [Wed, 6 Mar 2019 17:26:41 +0000 (18:26 +0100)]
magnifier: Fix color argument

Clutter.TextureNode takes a Clutter.Color, not a Cogl.Color.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1020

7 years agost-theme-node-transition: Exclude get_new_paint_state() from introspection
Robert Mader [Thu, 7 Mar 2019 22:22:36 +0000 (23:22 +0100)]
st-theme-node-transition: Exclude get_new_paint_state() from introspection

to silence a build warning.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/449

7 years agost-widget: Add missing g_return_val_if_fail()
Florian Müllner [Tue, 5 Mar 2019 18:42:01 +0000 (19:42 +0100)]
st-widget: Add missing g_return_val_if_fail()

It's a public function, so it's good practice to sanity-check its
input (unless disabled at compile time of course).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1018

7 years agotheme: improve legibility of error messages
Jakub Steiner [Fri, 1 Mar 2019 14:34:41 +0000 (15:34 +0100)]
theme: improve legibility of error messages

- the login dialog uses warning_color, so be consistent
- nevertheless increase lightness of the error_color

Fixes issue https://gitlab.gnome.org/GNOME/gnome-shell/issues/1016

7 years agotexture-cache: Apply resource scale to the right dimension
Florian Müllner [Wed, 6 Mar 2019 20:39:42 +0000 (21:39 +0100)]
texture-cache: Apply resource scale to the right dimension

Size matters!

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/444

7 years agolayout: Use custom actor for uiGroup
Florian Müllner [Tue, 5 Mar 2019 10:34:27 +0000 (11:34 +0100)]
layout: Use custom actor for uiGroup

The bind constraint that replaced the Shell.GenericContainer in commit
f4682748faf4 is subtly different from the previous code:
It forces the actor to have the same size as the stage, rather than just
requesting that size.

This breaks the magnifier which relies on the UI being able to be bigger
than the display size. Fix by going back to using a custom actor.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/646

7 years agouserWidget: Fix avatar size
Florian Müllner [Thu, 7 Mar 2019 12:39:17 +0000 (13:39 +0100)]
userWidget: Fix avatar size

The texture cache now returns an actor with an appropriate ClutterContent
rather than a ClutterTexture. That actor uses the CONTENT_SIZE request
mode, which means that it will unconditionally request the preferred size
of the content. That is, setting an explicit size no longer has an effect.

Fix this by making sure the image is already loaded with the desired
dimensions.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1024

7 years agoBump version to 3.32.0
Florian Müllner [Mon, 11 Mar 2019 22:54:15 +0000 (23:54 +0100)]
Bump version to 3.32.0

Update NEWS.

7 years agotheme: Fix menu arrows
Florian Müllner [Sun, 10 Mar 2019 20:57:54 +0000 (21:57 +0100)]
theme: Fix menu arrows

After the latest texture cache changes, loading the icon at its preferred
size and scaling it via the actor size no longer works. Instead, use the
icon-size property which is applied when loading the icon.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/452

7 years agoUpdate Estonian translation
Mart Raudsepp [Sun, 10 Mar 2019 16:57:52 +0000 (16:57 +0000)]
Update Estonian translation

7 years agoFix Icon in translations
Piotr Drąg [Sun, 10 Mar 2019 16:32:06 +0000 (17:32 +0100)]
Fix Icon in translations

7 years agotheme: Handle fallback app icons in notifications
Florian Müllner [Fri, 8 Mar 2019 13:12:12 +0000 (14:12 +0100)]
theme: Handle fallback app icons in notifications

Since commit 3eb80dc6c0, the size of notification icons is determined
by the theme to make it font-relative. Also handle the case where the
icon isn't an StIcon, but a fallback window icon.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027

7 years agoapp: Set styleclass on fallback app icons
Florian Müllner [Fri, 8 Mar 2019 13:10:56 +0000 (14:10 +0100)]
app: Set styleclass on fallback app icons

For window backed apps, create_icon_texture() doesn't return an StIcon
but a generic widget. Set an appropriate style class to make it easier
to apply a specific style only to fallback icons.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027

7 years agotexture-cache: Fall back to actor size for bound textures
Florian Müllner [Fri, 8 Mar 2019 13:08:27 +0000 (14:08 +0100)]
texture-cache: Fall back to actor size for bound textures

With StImageContent, the meaning of passing -1 as size parameter changed
from "load the image at its preferred size" to "abort the session". It
is therefore no longer possible to just load the image and then have it
scaled by applying a CSS size to the texture's parent.

Setting the size from CSS is useful though, so to still allow that, fall
back to the actor's size (which can be determined by the style).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027

7 years agotexture-cache: Load bound surfaces into StWidgets
Florian Müllner [Fri, 8 Mar 2019 13:06:38 +0000 (14:06 +0100)]
texture-cache: Load bound surfaces into StWidgets

Using widgets instead of plain actors will allow us to set the size
from CSS.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027

7 years agoUpdate Japanese translation
Ryuta Fujii [Thu, 7 Mar 2019 11:17:18 +0000 (11:17 +0000)]
Update Japanese translation

7 years agoUpdate Tajik translation
Victor Ibragimov [Wed, 6 Mar 2019 15:15:01 +0000 (20:15 +0500)]
Update Tajik translation

7 years agoUpdate Tajik Translation
Victor Ibragimov [Wed, 6 Mar 2019 15:08:28 +0000 (20:08 +0500)]
Update Tajik Translation

7 years agoUpdate Tajik Translation
Victor Ibragimov [Wed, 6 Mar 2019 15:06:55 +0000 (20:06 +0500)]
Update Tajik Translation

7 years agobuild: Add mutter's private directory to libst's build-time RPATH
Iain Lane [Wed, 6 Mar 2019 12:33:33 +0000 (12:33 +0000)]
build: Add mutter's private directory to libst's build-time RPATH

We need this to run `test-theme`, otherwise when run as part of the
build tests it fails like:

  error while loading shared libraries: libmutter-cogl-4.so.0: cannot
  open shared object file: No such file or directory

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/442

7 years agoUpdate Hungarian translation
Gábor Kelemen [Tue, 5 Mar 2019 22:05:20 +0000 (22:05 +0000)]
Update Hungarian translation

7 years agokeyboard: Add bottom emoji panel row to separate aspect container
Carlos Garnacho [Tue, 5 Mar 2019 18:34:23 +0000 (19:34 +0100)]
keyboard: Add bottom emoji panel row to separate aspect container

So we ensure the row has the right aspect ratio, and buttons neatly aligned
with the bottom row in the alphanumeric view.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/439

7 years agokeyboard: align AspectContainer to bottom if restricting vertically
Carlos Garnacho [Tue, 5 Mar 2019 18:33:49 +0000 (19:33 +0100)]
keyboard: align AspectContainer to bottom if restricting vertically

It is convenient for the OSK so it eg. doesn't appear centered in the
available space (eg. on very narrow portrait layouts), plus it will also
be convenient to align other AspectContainers to the same baseline.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/439

7 years agoBump version to 3.31.92
Florian Müllner [Tue, 5 Mar 2019 04:07:44 +0000 (05:07 +0100)]
Bump version to 3.31.92

Update NEWS.

7 years agouserWidget: Remove frame around avatar
Florian Müllner [Tue, 5 Feb 2019 16:28:41 +0000 (17:28 +0100)]
userWidget: Remove frame around avatar

There's a push for round user images, for which the existing square
frame is a bad match. So remove the frame and enforce the shape.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/811

7 years agost-shadow: Remove unnecessary ';'
Robert Mader [Mon, 4 Mar 2019 19:24:12 +0000 (20:24 +0100)]
st-shadow: Remove unnecessary ';'

to silence a build warning.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/434

7 years agoosk-layouts: Fix French layout
Florian Müllner [Wed, 27 Feb 2019 19:11:35 +0000 (20:11 +0100)]
osk-layouts: Fix French layout

The script to convert XML keyboard layouts to json has a small bug
that causes the French-Canadian layout to end up as French.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/997

7 years agodata: Don't drop emoji layout on update
Florian Müllner [Wed, 27 Feb 2019 19:15:11 +0000 (20:15 +0100)]
data: Don't drop emoji layout on update

https://gitlab.gnome.org/GNOME/gnome-shell/issues/997

7 years agoFix override for fr-CA
Florian Müllner [Wed, 27 Feb 2019 19:09:54 +0000 (20:09 +0100)]
Fix override for fr-CA

7 years agoGenerate all json files for the android directory in a go
Carlos Garnacho [Sun, 13 Aug 2017 21:29:02 +0000 (21:29 +0000)]
Generate all json files for the android directory in a go

7 years agoAdd convert_xml test
Alan [Wed, 2 Aug 2017 15:26:50 +0000 (15:26 +0000)]
Add convert_xml test

7 years agoAdd level modifiers in JSON
Alan [Wed, 2 Aug 2017 15:26:32 +0000 (15:26 +0000)]
Add level modifiers in JSON

This is needed because some layouts don't have an uppercase level.
That shouldn't make symbols the 2nd level.

7 years agoRemove garbage
Alan [Wed, 2 Aug 2017 15:24:20 +0000 (15:24 +0000)]
Remove garbage

7 years agoLoad mappings at module initialisation
Alan [Wed, 2 Aug 2017 10:16:56 +0000 (10:16 +0000)]
Load mappings at module initialisation

7 years agoAdd unit tests
Alan [Wed, 2 Aug 2017 10:16:34 +0000 (10:16 +0000)]
Add unit tests

7 years agoAdd basic documentation
Alan [Wed, 2 Aug 2017 09:31:50 +0000 (09:31 +0000)]
Add basic documentation

7 years agoRemove useless test
Alan [Wed, 2 Aug 2017 09:30:48 +0000 (09:30 +0000)]
Remove useless test

7 years agoRename script
Alan [Tue, 1 Aug 2017 22:40:15 +0000 (22:40 +0000)]
Rename script

7 years agoOutput JSON and work on directories
Alan [Tue, 1 Aug 2017 15:34:13 +0000 (15:34 +0000)]
Output JSON and work on directories

7 years agoAdd licence statement from Caribou
Alan [Tue, 1 Aug 2017 11:07:09 +0000 (12:07 +0100)]
Add licence statement from Caribou

7 years agoImport script from caribou source
Alan [Tue, 1 Aug 2017 10:34:27 +0000 (11:34 +0100)]
Import script from caribou source

7 years agobuild: Include test-theme in tests
Florian Müllner [Tue, 26 Feb 2019 00:58:44 +0000 (01:58 +0100)]
build: Include test-theme in tests

It's an existing test that doesn't require interaction, so there's
no reason why it shouldn't be run by `ninja test`.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/419

7 years agotest-theme: Change presumed CWD
Florian Müllner [Tue, 26 Feb 2019 00:57:01 +0000 (01:57 +0100)]
test-theme: Change presumed CWD

The executable is assumed to be run from $top_srcdir/src, which is
essentially an autotools left-over (it's where the program ended
up with srcdir == builddir).

Now with meson, its actual srcdir makes more senses.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/419

7 years agotest-theme: Force default resolution
Florian Müllner [Tue, 26 Feb 2019 01:13:43 +0000 (02:13 +0100)]
test-theme: Force default resolution

Clutter no longer hard-codes a resolution of 96 DPI (although that's
still the default), so any assertions of sizes for physical units
may be off.

Fix this by setting up the test environment according to the
assumptions.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/419

7 years agoshell-tray-manager: Silence gdk_window_set_background_pattern warning
Robert Mader [Mon, 4 Mar 2019 15:50:12 +0000 (16:50 +0100)]
shell-tray-manager: Silence gdk_window_set_background_pattern warning

Apparently we can't get rid of it without breaking backward compatibility.
So let's stick to how GTK handles it and just silence the warning.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/423

7 years agona-tray-child: Silence gdk_window_set_background_pattern warnings
Robert Mader [Mon, 4 Mar 2019 15:31:20 +0000 (16:31 +0100)]
na-tray-child: Silence gdk_window_set_background_pattern warnings

Apparently we can't get rid of them without breaking backward compatibility.
So let's stick to how GTK handles it and just silence the warnings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/423

7 years agogtk-embed: Hide window actors from pick
Florian Müllner [Fri, 15 Feb 2019 16:04:10 +0000 (17:04 +0100)]
gtk-embed: Hide window actors from pick

Since we started to support tray icons on wayland, the icon we show
is not the actual XEmbed window. Instead, we let mutter create a
MetaWindow for it, then use its window actor as source for a clone
we (or nowadays: extensions) can add, remove and destroy freely.

To not let the real icon get in the way, we set an empty input shape
and make its window actor fully transparent. This works OK on X11,
but on wayland all events still go through Clutter, so any reactive
surface actor inside the window actor will block events for any actors
underneath (and status icons go into the top-windows group, so almost
all actors are affected).

Luckily we can pile another hack onto the pile of status icon hacks ...

https://gitlab.gnome.org/GNOME/gnome-shell/issues/191

7 years agoinputMethod: Handle OSK hiding after unfocus
Carlos Garnacho [Fri, 8 Feb 2019 22:00:18 +0000 (23:00 +0100)]
inputMethod: Handle OSK hiding after unfocus

Set a small timeout in order to let focus changes preserve OSK state. If
focus is eventually unset, the OSK will be hidden.

https://gitlab.gnome.org/GNOME/gtk/issues/1277
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/397

7 years agoshellDBus: Add UngrabAccelerators
Benjamin Berg [Sat, 2 Mar 2019 15:49:55 +0000 (16:49 +0100)]
shellDBus: Add UngrabAccelerators

While it is possible to register accelerators in-bulk, there is no
proper way to unregister them again. This adds the corresponding call
for UngrabAccelerator to allow ungrabbing multiple accelerators at the
same time.

The idea is that g-s-d can use this in the future to simplify the
keybinding reload logic.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/429

7 years agodnd: Only handle touch events in wayland
Andrea Azzarone [Mon, 4 Mar 2019 16:14:22 +0000 (16:14 +0000)]
dnd: Only handle touch events in wayland

There are serveral issues around touch passive grab and touch/pointer doubly
handling to use these on X11, so we stick to single-touch/pointer there.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1015
7 years agoautomountManager: Fix playing disconnected sound
Florian Müllner [Mon, 4 Mar 2019 13:36:13 +0000 (14:36 +0100)]
automountManager: Fix playing disconnected sound

A typo sneaked in in commit 9a35c990 ...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/432

7 years agoinhibitShortcuts: Save choice in permission store
Olivier Fourdan [Fri, 1 Feb 2019 16:44:05 +0000 (17:44 +0100)]
inhibitShortcuts: Save choice in permission store

Use the permission store to remember the user's decision as to whether
or not grant the shortcuts request when the application is known.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/382

7 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 3 Mar 2019 16:54:25 +0000 (18:54 +0200)]
Updated Lithuanian translation

7 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 3 Mar 2019 14:18:43 +0000 (14:18 +0000)]
Update Latvian translation

7 years agoUpdate Dutch translation
Nathan Follens [Sun, 3 Mar 2019 10:15:54 +0000 (10:15 +0000)]
Update Dutch translation

7 years agomessageTray: Add source policy setter
Florian Müllner [Sat, 2 Mar 2019 19:53:33 +0000 (20:53 +0100)]
messageTray: Add source policy setter

Commit 8f15193b4 changed the `policy` property from a regular JS property to
a getter. This was necessary to avoid calling an overridden _createPolicy()
method before a subclass is properly initialized, but it broke the second
way of using notification sources:

Don't create a Source subclass, but use the base class directly and change
its `policy` property.

There's no good reason why we should no longer allow this, so add a setter.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/431

7 years agoUpdated Vietnamese translation
Trần Ngọc Quân [Sun, 3 Mar 2019 06:48:55 +0000 (13:48 +0700)]
Updated Vietnamese translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
7 years agowindowAttentionHandler: Don't destroy on open
Florian Müllner [Sat, 2 Mar 2019 20:15:03 +0000 (21:15 +0100)]
windowAttentionHandler: Don't destroy on open

The activateWindow() call is expected to focus the window, which
already destroys the source. If we then destroy it again explicitly,
we get another "invalid access" warning.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/430

7 years agonetwork: Don't destroy wireless dialog twice
Florian Müllner [Sat, 2 Mar 2019 19:46:28 +0000 (20:46 +0100)]
network: Don't destroy wireless dialog twice

The dialog doesn't change the `destroyOnClose` property from its default,
so it is already destroyed automatically on close. So if we also destroy
it explicitly, we end up (rightfully) with one of gjs' infamous "invalid
access" warnings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/430

7 years agoUpdate German translation
Bernd Homuth [Sat, 2 Mar 2019 20:14:39 +0000 (20:14 +0000)]
Update German translation

7 years agoUpdate Romanian translation
Daniel Șerbănescu [Sat, 2 Mar 2019 19:55:56 +0000 (19:55 +0000)]
Update Romanian translation

7 years agoappsMenu: Fix initial visibility of "Details" item
Florian Müllner [Sun, 24 Feb 2019 01:21:56 +0000 (02:21 +0100)]
appsMenu: Fix initial visibility of "Details" item

It is only supposed to be visible when Software is installed, but
we currently only update the visibility on changes.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/989

7 years agosearch: Hide the separator line of the last result
verdre [Sat, 24 Nov 2018 23:45:19 +0000 (00:45 +0100)]
search: Hide the separator line of the last result

If a result is displayed at the end of the search results, there should
obviously not be a line separating it from the next result underneath
it. To fix this, always hide the separator for the last result visible.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/311